
var listdata = [
    {
        order:"0998989898",status:'订单完成',product:'瑞和宝MPOS希望礼包B',price:'4000.00',date:'2018-08-15 12:21:12'
    }
];

var vm = new Vue({
    el: '#order',
    data: {
        listdata: []
    },
    methods:{
        insert:function (data) {
            // 注入数据
            vm.listdata = data
        },
        linkto(item){
            // 支付
            console.log('itme',JSON.stringify(item))
            location.href = "../../pages/machine/machine_pay.html"
        }
    }
});


mui.ready(function () {
    // 加载数据
    setTimeout(()=>{
        vm.insert(listdata);
    },200)

})
